package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberGradeIncrement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员等级管理-成长值规则主表
 * @author : 
 * @email : 
 * @since : 2020-04-02 07:58:21
 * @version : v1.0.0
 */
@Mapper
public interface  MememberGradeIncrementMapper {

    long insert(MememberGradeIncrement mememberGradeIncrement);

    long delete(Long incrementId);

    long update(MememberGradeIncrement mememberGradeIncrement);

    MememberGradeIncrement queryByPrimaryKey(Long incrementId);

    List<MememberGradeIncrement> query(MememberGradeIncrement mememberGradeIncrement);

    List<MememberGradeIncrement> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberGradeIncrement") MememberGradeIncrement mememberGradeIncrement);

    long queryPageCount(MememberGradeIncrement mememberGradeIncrement);
}